//
//  MeFunctionCell.m
//  20240823
//
//  Created by 张伟 on 2024/8/31.
//

#import "MeFunctionCell.h"

@interface MeFunctionCell ()
@property (weak, nonatomic) IBOutlet UIImageView *icon;
@property (weak, nonatomic) IBOutlet UILabel *name;
@end

@implementation MeFunctionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(MeFunctionModel *)model {
    _model = model;
    _icon.image = [UIImage imageNamed:model.icon];
    _name.text = model.name;    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
